﻿{% extends 'base.html' %}

{% block extra_head %}
<title>修改分类</title>
{% endblock %}

{% block content %}
<h2>修改分类</h2>
<form method='post' action='/category/{{category.key.name}}/edit'>
    <label for='id_name'>新名字</label>
    <input type='text' name='name' id='id_name' value='{{category.name}}'></input>
    <input type='submit' value='修改'></input>
</form>
<div class='error' style='color:red'>{{error}}</div>
{% endblock %}
